Managing heterogeneous device memory using C++17 memory resources

نویسندگان

چکیده

Abstract Programmers using the C++ programming language are increasingly taught to manage memory implicitly through containers provided by standard library. However, heterogeneous platforms often require explicit allocation and deallocation of memory. This discrepancy in management strategies can be daunting problematic for developers who not already familiar with programming. The C++17 introduces concept resources , which allow user control how library allocate memory; we believe that this addition is a powerful tool towards unification systems best-practice development. In paper, present vecmem allows efficient user-friendly on CUDA, HIP, SYCL devices containers. We investigate design use cases such library, potential performance gains over naive allocation, limitations model.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Managing Kernel Memory Resources from User Level

In order to implement abstractions like threads or address spaces, operating system kernels need to maintain the corresponding metadata. This metadata is usually stored in kernel memory, i.e. in a region of physical memory that is reserved for kernel use. As the amount of available kernel memory is limited, its allocation must be controlled carefully; otherwise, applications can run a denial-of...

متن کامل

Managing Heterogeneous Resources

The Grid supports the sharing and coordinated use of resources in dynamic heterogeneous distributed environments. The effective use of a Grid requires the definition of an approach to manage the heterogeneity of the involved resources that can include computers, data, network facilities and software tools provided by different organizations. This issue get more importance when complex applicati...

متن کامل

Managing Shared Resources in Chip Multiprocessor Memory Systems

Chip Multiprocessors (CMPs) have become the architecture of choice for highperformance general-purpose processors. CMPs often share memory system units between processes. This may result in independent processes competing for memory bandwidth. Such competition can cause destructive interference which reduces performance predictability, decreases operating system scheduler efficiency and complic...

متن کامل

A reaction-diffusion memory device.

Any computer consists of processor and memory elements. Patterns and waves in excitable or oscillatory reaction– diffusion media are able to perform such processor tasks as counting, logical operations, signal transformation, and finding the shortest path through a maze. Since the brain may be thought of as a reaction–diffusion system, these capabilities are perhaps not so remarkable, though th...

متن کامل

Graphene nanostrip digital memory device.

In equilibrium, graphene nanostrips, with hydrogens sp2-bonded to carbons along their zigzag edges, are expected to exhibit a spin-polarized ground state. However, in the presence of a ballistic current, we find that there exists a voltage range over which both spin-polarized and spin-unpolarized nanostrip states are stable. These states can represent a bit in a binary memory device that could ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Journal of physics

سال: 2023

ISSN: ['0022-3700', '1747-3721', '0368-3508', '1747-3713']

DOI: https://doi.org/10.1088/1742-6596/2438/1/012050